package com.example.single;

public class Main {

    public static void main(String[] args) {
        SiglnModelMain instence = Main1.getInstence();
        System.out.println(instence);
        SiglnModelMain instence1 = Main1.getInstence();
        System.out.println(instence1);
        SiglnModelMain instence2 = Main2.getInstence();
        System.out.println(instence2);
        SiglnModelMain instence3 = Main2.getInstence();
        System.out.println(instence3);

        System.out.println(instence.hashCode());
        System.out.println(instence3.hashCode());

        String s = String.valueOf(123);
        System.out.println(s.hashCode());
        String s1 = new String("123");
        String s2 = new String("123");
        System.out.println(s1.hashCode());
        System.out.println(s2.hashCode());

        SiglnModelMain siglnModelMain = new SiglnModelMain();
        System.out.println(siglnModelMain.hashCode());
        SiglnModelMain siglnModelMain1 = new SiglnModelMain();
        System.out.println(siglnModelMain1.hashCode());

    }

}
